package cn.edu.zut.score.service;

import cn.edu.zut.score.core.domain.PageResponse;
import cn.edu.zut.score.core.domain.RestResponse;
import cn.edu.zut.score.core.dto.request.ReplyInfoPageRequest;
import cn.edu.zut.score.core.dto.response.ReplyInfoResponse;
import cn.edu.zut.score.core.dto.response.ReplyResponse;
import cn.edu.zut.score.core.entity.ReplyInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zby
 * @since 2021-06-25
 */
public interface IReplyInfoService extends IService<ReplyInfo> {

    RestResponse<List<Integer>> getDataById(Long replyid);

    RestResponse<PageResponse<ReplyInfoResponse>> getListById(Long replyid, ReplyInfoPageRequest replyInfoPageRequest);

    RestResponse<List<Integer>> getStuDataById(Long replyid);

    RestResponse<ReplyResponse> inline(Long replyid);

    List<Long> getReplyUserIdsByReplyId(Long replyId, Long studentId);

    RestResponse<String> remindInline(Long replyId);

    RestResponse<String> beginReply(Long replyId, Long studentId);

    List<Long> getStudentIdsByReplyId(Long replyId);
}
